package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"yyy/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/userLog", &controllers.UserControllers{}, "post:Log")
	beego.Router("/RolePermAdd", &controllers.UserControllers{}, "post:Add")
	beego.Router("/UserRole", &controllers.UserControllers{}, "get:List")
	beego.Router("/RolePerm", &controllers.UserControllers{}, "get:List2")
	beego.Router("/compAdd", &controllers.UserControllers{}, "post:Add2")
	beego.Router("/CompTypes", &controllers.UserControllers{}, "post:Add3")
	beego.Router("/CompTypesList", &controllers.UserControllers{}, "get:List3")
	beego.Router("/CompTypesList4", &controllers.UserControllers{}, "get:List4")
}
